package tedu;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.nio.charset.StandardCharsets;

public class HelloWorld {
    public static void main(String[] args) throws Exception {
        FileOutputStream fos=new FileOutputStream("demo.txt");
        fos.write("大家好".getBytes(StandardCharsets.UTF_8));
        fos.write("嘿嘿嘿".getBytes(StandardCharsets.UTF_8));
        System.out.println("在branch1上添加的输出语句");
        System.out.println("Master主线上添加了一句新的输出！！！");
        System.out.println("在branch1分支上又添加了一句输出！！！");
        System.out.println("随便修改点什么");
        System.out.println("写出完毕");
        fos.close();
    }
}
